#include <algorithm/analytical_model/algorithm/cpu/VectorConvert.h>

using namespace solar::cpu;
using namespace solar::cuda::inter_op;

auto solar::cpu::toVec3(const Float3& float3) -> Vec3 { return {float3.x, float3.y, float3.z}; }
auto solar::cpu::toFloat3(const Vec3& vec) -> Float3
{
    auto data = vec.data();
    return {static_cast<float>(data[0]), static_cast<float>(data[1]), static_cast<float>(data[2])};
}
